package rxb.demo.wzyentity;

import java.io.Serializable;


public class Food implements Serializable{

    private Integer id;
    private String foodName;
    private String imgUrl;

    public Food(){

    }
    public Food(String foodName, String imgUrl){
        this.foodName=foodName;
        this.imgUrl=imgUrl;
    }
    public Integer getId(){
        return id;
    }
    public void setId(Integer id){
        this.id=id;
    }
    public String getFoodName(){
        return foodName;
    }
    public void setFoodName(String foodName){
        this.foodName = foodName;
    }
    public String getImgUrl(){
        return imgUrl;
    }
    public void setImgUrl(String imgUrl){
        this.imgUrl = imgUrl;
    }

    @Override
    public String toString(){
        final StringBuilder sb = new StringBuilder("Food{");
        sb.append("id=").append(id);
        sb.append(", foodName='").append(foodName).append('\'');
        sb.append(", imgUrl='").append(imgUrl).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
